package com.atguigu.service;

import com.atguigu.entity.Permission;

import java.util.List;
import java.util.Map;

/**
 * @title：
 * @author：Yu
 * @create：2023-03-01 9:58
 * @description：
 */
public interface PermissionService extends BaseService<Permission> {
    List<Map<String, Object>> findNodes(Long roleId);

    List<Permission> findPermissionByadminId(Long adminId);

    List<Permission> findAll();

    List<String> findByAdminId(Long adminId);
}
